package com.bjsxt.chapter2_factory.abstractFactory;

/**
 * @ClassName Tyre
 * @Description 轮胎
 * @Author 黑马程序员
 * @Date 17:45 2024/6/20
 * @Version 1.0
 **/
public interface Tyre {
    void revolve();
}

class LuxuryTyre implements Tyre {

    @Override
    public void revolve() {
        System.out.println("旋转不磨损!");
    }
}

class LowTyre implements Tyre {

    @Override
    public void revolve() {
        System.out.println("旋转磨损快!");
    }
}
